package com.kingyea.mobilepolice.apimanage.client;


import com.kingyea.mobilepolice.apimanage.utils.page.PageInfo;
import com.kingyea.mobilepolice.dictionary.bean.Dictionary;
import com.kingyea.mobilepolice.system.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

/**
 * @author Mr.Lin
 * @version v1.0.0
 * @description
 * @date Created in 2018/4/25 23:52
 */
@FeignClient(value = "auth-server")
public interface UamServiceClient {

    @RequestMapping(value = "/dictionary/list", method = RequestMethod.POST)
    Result<PageInfo<Dictionary>> searchDict(@RequestBody Map condition);

}
